<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet"> 

</head>
<body>
 <div class="container mt-3">
	<div class="list-group list-group-flush">
		<c:if test="${curUser.type == 1 }">
			<a class="list-group-item list-group-item-action" href="../student/search.jsp" target="iframeContent">学生管理</a>

		
		<a class="list-group-item list-group-item-action" href="../book/search.jsp" target="iframeContent">图书管理</a>
		<a class="list-group-item list-group-item-action" href="../reader/search.jsp" target="iframeContent">读者管理</a>
		<a class="list-group-item list-group-item-action" href="../bookBorrow/search.jsp" target="iframeContent">借阅管理</a>
		</c:if>
		<c:if test="${curUser.type==0 }">
		<a class="list-group-item list-group-item-action" href="../book/search.jsp" target="iframeContent">图书查询</a>
		<a class="list-group-item list-group-item-action" href="../bookBorrow/search.jsp" target="iframeContent">图书借阅</a>
		</c:if>

		
	</div>
</div> 
</body>
</html>